/*
 * string.h
 * This file has no copyright assigned and is placed in the Public Domain.
 * This file is a part of the clang port package.
 * No warranty is given; refer to the file DISCLAIMER within the package.
 *
 * Definitions for memory and string functions.
 *
 */

#ifndef _CLANG_PORT_STRING_H_
#define	_CLANG_PORT_STRING_H_

/* All the headers include this file. */
#ifndef __IMPL_CLANG_PORT_API_
#	include <_clang_port.h>
#else
#	include <include/_clang_port.h>
#endif

/*
 * Define size_t, wchar_t and NULL
 */
#include <stddef.h>


#ifdef __cplusplus
extern "C" {
#endif

#ifndef __IMPL_CLANG_PORT_API_
/*
 * Prototypes of the ANSI Standard C library string functions.
 */
void* memchr (const void*, int, size_t);
int __cdecl 	memcmp (const void*, const void*, size_t) ;
void* __cdecl 	memcpy (void*, const void*, size_t);
void* memmove (void*, const void*, size_t);
void* memset (void*, int, size_t);
char* strcat (char*, const char*);
char* strchr (const char*, int)  ;
int strcmp (const char*, const char*)  ;
int strcoll (const char*, const char*);	
char* strcpy (char*, const char*);
size_t strcspn (const char*, const char*)  ;
char* strerror (int);

size_t strlen (const char*)  ;
char* strncat (char*, const char*, size_t);
int strncmp (const char*, const char*, size_t)  ;
char* strncpy (char*, const char*, size_t);
char* strpbrk (const char*, const char*)  ;
char* strrchr (const char*, int)  ;
size_t strspn (const char*, const char*)  ;
char* strstr (const char*, const char*)  ;
char* strtok (char*, const char*);
size_t strxfrm (char*, const char*, size_t);

#endif // __IMPL_CLANG_PORT_API_

#ifdef __cplusplus
}
#endif


#endif	/* Not _CLANG_PORT_STRING_H_ */
